home *** CD-ROM | disk | FTP | other *** search
-
-
- ╔════════════════════════════════════════════════════════════════════════════╗
- ║ ║
- ║ ░░▒▒▓▓██▓▓▒▒░░ ░░▒▒▓▓██▓▓▒▒░░ PRINTERS ░░▒▒▓▓██▓▓▒▒░░ ░░▒▒▓▓██▓▓▒▒░░ ║
- ║ ║
- ║ This program is being distributed as Shareware. Please feel free ║
- ║ to copy and distribute as you like. Under No Terms may you charge for ║
- ║ distribution, except for media costs and shipping costs. If you use ║
- ║ this software and find that is has reduced your developement cycle ║
- ║ time dramatically, then please register today. In any event, please ║
- ║ pass it on so someone else can gain the benefits offered. ║
- ║ ║
- ║ PRINTERS (C)1993 has been developed by Micro Alpha Computer ║
- ║ Applications. All rights to PRINTERS are reserved by the Authors: ║
- ║ ║
- ║ Micro Alpha ║
- ║ George Wilcken & Bill Guy ║
- ║ ║
- ║ To Register, Send $39.00 to: ║
- ║ ║
- ║ Micro Alpha Computer Applications ║
- ║ 702 Deering Drive ║
- ║ Akron, Ohio 44313-5745 ║
- ║ ║
- ║ ║
- ║ SUPPORT SHAREWARE TODAY! ║
- ║ ║
- ║ ░░▒▒▓▓██▓▓▒▒░░ DISCLAIMER ░░▒▒▓▓██▓▓▒▒░░ ║
- ║ ║
- ║ Micro Alpha ║
- ║ assumes no responsibility for the program or damages that it may cause. ║
- ║ This software is being sold and distributed AS IS. ║
- ║ ║
- ║ ░░▒▒▓▓██▓▓▒▒░░ ░░▒▒▓▓██▓▓▒▒░░ ░░▒▒▓▓██▓▓▒▒░░ ░░▒▒▓▓██▓▓▒▒░░ ░░▒▒▓▓██▓▓▒▒░░ ║
- ╚════════════════════════════════════════════════════════════════════════════╝
-
- ╔══════════════════════════════════════════════╗
- ║░░▒▒▓▓██▓▓▒▒░░ WHAT IS PRINTERS ░░▒▒▓▓██▓▓▒▒░░║
- ╚══════════════════════════════════════════════╝
-
- PRINTERS is a program which will allow you to add complete printer
- independence to your Clarion 2.XXX applications.
-
-
- ╔══════════════════════════════════════════════╗
- ║░░▒▒▓▓██▓▓▒▒░░ THE PROBLEM ░░▒▒▓▓██▓▓▒▒░░║
- ╚══════════════════════════════════════════════╝
-
- As developers for a product intended to be distributed to a large number
- of users, there is no way to determine which printer will be used at the
- end user site. Although using a string constant to contain the HEX printer
- codes ( eg. '<27>G' ) is supported in clarion reports, they must be included
- into the report with a specific printer in mind. Fortunatly, Clarion also
- supports the use of string variables as printer control codes which
- facilitates multiple printer support, but assumes that the string will contain
- a hexidecimal printer code. Supplying a file containing all of the hex
- codes for all of the supported printers requires that the developer provide
- printer updates. Once a printer has been selected, printer port assignment
- must also be user selectable.
-
-
-
-
-
- PG 1
- ╔══════════════════════════════════════════════╗
- ║░░▒▒▓▓██▓▓▒▒░░ THE SOLUTION ░░▒▒▓▓██▓▓▒▒░░║
- ╚══════════════════════════════════════════════╝
-
- Have the end user select their printer from an initial list of printers.
- If their printer is not included in the list, allow them to add it using the
- printer codes contained in their printer manual. Prompt for a printer port
- selection and write the results to a single record file containing all the
- hex control codes and port information. Use the variable field of this end
- user generated file to develope your report from within the Designer or
- Editor.
-
- ╔══════════════════════════════════════════════╗
- ║░░▒▒▓▓██▓▓▒▒░░ THE CONCEPT ░░▒▒▓▓██▓▓▒▒░░║
- ╚══════════════════════════════════════════════╝
-
- The first step in developing PRINTERS was to convert Clarion's MATRIX.CTL
- and LASER.CTL (used by report writer) into Clarion file format to allow
- ASCII control code editing and easy printer selection from within a table.
- Next was to convert these files to their HEX counterparts to be used from
- within the designer's report generator and editor written code. These basic
- needs prompted the development of C.R.A.B. by Micro Alpha in 1991. C.R.A.B.
- allowed the developer to add multi printer support to their clarion apps.
- but required that the developer generate the code for printer pick lists and
- file manipulation. C.R.A.B. also lacked the ability to allow the end user
- to modify the printer codes for existing printers as well as add or delete
- printers from the initial data file. Thus PRINTERS was born.
- PRINTERS picks up the ball where C.R.A.B. left off and takes it for the
- touch down! PRINTERS is a self contained program which converts and
- manipulates the printer control files allowing the end user complete
- flexibility. You simply include the PRINTERS.EXE with your application and
- call it using a "RUN" command from within your app. Uppon successfull
- selection of a printer by your end user the program will generate the
- PRN_CDS.DAT file containing all of the codes for their printer. The screens
- for PRINTERS are generic and should fit in easily with your application.
-
- ╔══════════════════════════════════════════════╗
- ║░░▒▒▓▓██▓▓▒▒░░ WHATS WHAT ░░▒▒▓▓██▓▓▒▒░░║
- ╚══════════════════════════════════════════════╝
-
- Below is a list of the included files and brief description of what they
- do. The files at the time of shipment were in fine working order and have
- been tested. Micro Alpha assumes no responsibility for any damages caused
- or incurred from people tampering with the files.....
-
- PRINTERS.DOC - This Doc File.
- * PRINTERS.EXE - The Executable PRINTERS Program.
- * MATRIX.DAT - ASCII Version of Clarions MATRIX.CTL In Clarion File Format.
- * MATRIX.K01 - Key File For Matrix Printer Name Lookups.
- * LASER.DAT - ASCII Version of Clarions LASER.CTL In Clarion File Format.
- * LASER.K01 - Key File For Laser Printer Name Lookups.
- * PRINTER1.DAT - HEX Version of Clarions MATRIX.CTL In Clarion File Format.
- * PRINTER1.K01 - Key File.
- * PRINTER2.DAT - HEX Version of Clarions LASER.CTL In Clarion File Format.
- * PRINTER2.K01 - Key File.
- * PRINTERS.HLP - The Help File Used By PRINTERS.
- PRN_CDS.DAT - Empty Selected Printer File For "GETTING" into your APP.
- PRN_CDS.INC - Include file containing file srtucture of PRN_CDS.DAT.
- SAMPLE.APP - A Sample Application (Check it out!)
- SAMPLE.DOC - A doc file for the Sample App
- SAMPLE.HLP - The Help file for the Sample App
-
- * - These files must be included with your application distribution disks.
- PG 2
-
-
-
- ╔══════════════════════════════════════════════╗
- ║░░▒▒▓▓██▓▓▒▒░░ IMPLIMENTATION ░░▒▒▓▓██▓▓▒▒░░║
- ╚══════════════════════════════════════════════╝
-
- First you must get the file definition into your application. From within
- the designer you may GET the file structure from the included blank PRN_CDS
- file. When using the editor simply COPY the PRN_CDS.INC into your file defs.
- To impliment the PRN_CDS.DAT file which is created when the user selects
- a printer, simply use the code list provided in this document to
- find the field that represents the code for which you wish to use, and
- use this field in the "CONTROL FIELD" box of the the report formatter.
- Remember, that before the report is run you must first GET the record
- to load the selected printer. This can be done in the designer by
- defining a SETUP PROCEDURE for the report with the following line of
- code: 'GET(PRN_CDS,1)' (without the quotes of course). From the editor
- issue the same command to get the record. You may want to do some
- error checking to see if the user has selected a printer. Note that the
- C:PTR_TYP field of the PRN_CDS file returns which type of printer the
- end user has selected. Knowing this, you can add conditional statements
- in your report development to handle the annoying 66 lines for Dot Matrix
- vs. 60 lines for Laser problems.
-
-
- ╔══════════════════════════════════════════════╗
- ║░░▒▒▓▓██▓▓▒▒░░ THE CATCH ░░▒▒▓▓██▓▓▒▒░░║
- ╚══════════════════════════════════════════════╝
-
- As this is a shareware package, not a demo, it is a working version of
- the program. It does however have one limitation. Hopefully we have made
- the shareware screens so pathetic that you wont include it in your APP
- until you register. The registered version is identical except for the
- shareware notices. (SORRY BUT I HAVE TO GENERATE REVENUE SOMEHOW!)
-
- ╔══════════════════════════════════════════════╗
- ║░░▒▒▓▓██▓▓▒▒░░ THE CODE LIST ░░▒▒▓▓██▓▓▒▒░░║
- ╚══════════════════════════════════════════════╝
-
- Below is a listing of all the available control codes for you to use in
- the generation of your reports. Simply use the code on the left in your
- reports to achieve the effect listed on the right.
-
-
- C:CPI10 = 10 CPI
- C:CPI12 = 12 CPI
- C:BON = Bold On
- C:BOFF = Bold Off
- C:CSB = Char Set - Bar Code
- C:CSL = Char Set - Legal
- C:CSLD = Char Set - Line Draw
- C:CSM7 = Char Set - Math #7
- C:CSM8 = Char Set - Math #8
- C:CSPC = Char Set - PC
- C:CSPF = Char Set - Pifont
- C:CSRE = Char Set - Roman Exn
- C:CSR8 = Char Set - Roman #8
- C:CSUPS = Char Set - UPC
- C:CH1 = Character Set #1
- C:CH2 = Character Set #2
- C:CON = Compressed On
- C:COFF = Compressed Off
-
-
- PG 3
-
-
- ╔══════════════════════════════════════════════╗
- ║░░▒▒▓▓██▓▓▒▒░░ THE CODES CONT ░░▒▒▓▓██▓▓▒▒░░║
- ╚══════════════════════════════════════════════╝
-
- C:CS10 = Correspondance 10CPI
- C:CS12 = Correspondance 12CPI
- C:DHON = Double Height On
- C:DHOFF = Double Height Off
- C:DWON = Double Wide On
- C:DWOFF = Double Wide Off
- C:EMON = Emphasized On
- C:EMOFF = Emphasized Off
- C:EXON = Expanded On
- C:EXOFF = Expanded Off
- C:FU = Floating Underline
- C:FC = Font - Courier
- C:FD = Font - Draft
- C:FH = Font - Helvetica #2
- C:FL = Font - Letter Gothic
- C:FLP = Font - Line Printer
- C:FP = Font - Prestige
- C:FSS = Font Sans Serif
- C:FS = Font Script
- C:FTR = Font - Times Roman
- C:FC1 = Font Cart #1
- C:FC2 = Font Cart #2
- C:FF = Form Feed
- C:ID1 = Internat: Denmark #1
- C:ID2 = Internat: Denmark #2
- C:IF1 = Internat: France #1
- C:IG1 = Internat: Germany #1
- C:II1 = Internat: Italy #1
- C:IJ1 = Internat: Japan #1
- C:ISP = Internat: Spain #1
- C:ISW = Internat: Sweeden #1
- C:IUK = Internat: United Kingdom #1
- C:IUS = Internat: USA #1
- C:ION = Italic On
- C:IOFF = Italic Off
- C:LMON = Landscape Mode On
- C:LMOFF = Landscape Mode Off
- C:NLON = Near Letter On
- C:NLOFF = Near Letter Off
- C:OCRA = OCR a
- C:OCRB = OCR B
- C:OCRBX = OCR B Ext
- C:P6 = Pitch 6
- C:P8 = Pitch 8
- C:P10 = Pitch 10
- C:P12 = Pitch 12
- C:P14 = Pitch 14
- C:P16 = Pitch 16.66
- C:PT6 = Point 6
- C:PT8 = Point 8
- C:PT10 = Point 10
- C:PT12 = Point 12
- C:PT14 = Point 14
- C:PON = Proportional On
- C:POFF = Proportional Off
- C:QMON = Quiet Mode On
- C:QMOFF = Quiet Mode Off
-
-
- PG 4
-
-
-
-
-
-
- ╔══════════════════════════════════════════════╗
- ║░░▒▒▓▓██▓▓▒▒░░ THE CODES CONT ░░▒▒▓▓██▓▓▒▒░░║
- ╚══════════════════════════════════════════════╝
-
-
- C:RS = Re Set
- C:SB = Stroke - Bold
- C:SL = Stroke - Light
- C:SM = Stroke - Medium
- C:SBON = Subscript On
- C:SBOFF = Supscript Off
- C:SHON = Shadow On
- C:SHOFF = Shadow Off
- C:SSON = Superscript On
- C:SSOFF = Superscript Off
- C:UON = Underline On
- C:UOFF = Underline Off
- C:VS6 = Vertical Spacing 6 LPI
- C:VS8 = Vertical Spacing 8LPI
- C:VS10 = Vertical Spacing 10LPI
- C:ZS = Zero - Slashed
- C:ZU = Zero - Unslashed
- C:PTR_TYP = *
-
- * This field contains either a "M" or a "L" depending on which printer type
- was selected (M=Dot Matrix and L=Laser).
-
-
- NOTE: Although all of the possible control codes are listed, not all
- are supported by every printer. If you are unsure whether a printer
- supports a code, refer to that specific printers manual.
-
-
-
- ╔══════════════════════════════════════════════╗
- ║░░▒▒▓▓██▓▓▒▒░░ THANKS ░░▒▒▓▓██▓▓▒▒░░║
- ╚══════════════════════════════════════════════╝
-
- We hope you find this product useful. Should you have any questions or
- comments, please write. And remember.... Thanks For Supporting Shareware!
-
-
-